local M = {}

local KismetSystemLibrary = UE.UKismetSystemLibrary

-- 设置定时器
local SetTimerDelegate = KismetSystemLibrary.K2_SetTimerDelegate

-- 判断是否有绑定存在
local IsTimerActiveHandle = KismetSystemLibrary.K2_IsTimerActiveHandle

-- 暂停定时器
local PauseTimerHandle = KismetSystemLibrary.K2_PauseTimerHandle

-- 清除定时器
local ClearTimerHandle = KismetSystemLibrary.K2_ClearTimerHandle

local ClearAndInvalidateTimerHandle = KismetSystemLibrary.K2_ClearAndInvalidateTimerHandle

-- 设置定时器函数
function M.SetTimerDelegate(Delegate, Time, bLooping)
    SetTimerDelegate(Delegate, Time, bLooping)
end

-- 判断是否有绑定存在函数
function M.IsTimerActiveHandle(WorldContextObject, Handle)
    IsTimerActiveHandle(WorldContextObject, Handle)
end

-- 暂停定时器函数
function M.PauseTimerHandle(WorldContextObject, Handle)
    PauseTimerHandle(WorldContextObject, Handle)
end

-- 清除定时器函数
function M.ClearTimerHandle(WorldContextObject, Handle)
    ClearTimerHandle(WorldContextObject, Handle)
end

return M